package com.ruoyi.server.api.favorites.domain;

import com.ruoyi.common.core.domain.BaseEntity;

import java.math.BigInteger;

/**
 * 点赞收藏对象 Favorites
 * 
 * @author ruoyi
 * @date 2024-06-20
 */
public class Favorites extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private BigInteger userId;

    /** 图片ID */
    private Long imgManageId;

    /** 点赞状态 */
    private boolean isLiked;

    /** 收藏状态 */
    private boolean col;

    public BigInteger getUserId() {
        return userId;
    }

    public void setUserId(BigInteger userId) {
        this.userId = userId;
    }

    public Long getImgManageId() {
        return imgManageId;
    }

    public void setImgManageId(Long imgManageId) {
        this.imgManageId = imgManageId;
    }

    public boolean isLiked() {
        return isLiked;
    }

    public void setLiked(boolean liked) {
        isLiked = liked;
    }

    public boolean isCol() {
        return col;
    }

    public void setCol(boolean col) {
        this.col = col;
    }

    @Override
    public String toString() {
        return "Favorites{" +
                "userId=" + userId +
                ", imgManageId=" + imgManageId +
                ", isLiked=" + isLiked +
                ", col=" + col +
                '}';
    }
}
